package com.dcloud.cfg;

import java.util.LinkedHashMap;
import java.util.Map;

public class GlobalConfig {

    private static Map<String,String> globalCfgs = new LinkedHashMap<>();

    //添加
    public static void addCfg(String key,String value){
        globalCfgs.put(key,value);
    }

    //删除
    public static void removeCfg(String key){
        globalCfgs.remove(key);
    }

    //selectOne
    public static String oneCfg(String key){
        return globalCfgs.get(key);
    }
}
